package com.scott.java8concurrency.before5;

/**
 * java Thread/Runnable 编程模型（java 5 之前）
 *
 * @author Scott  2017-09-24
 *
 */
public class ThreadMain {

    public static void main(String[] args) {
        //子线程
        Thread thread = new Thread(() -> System.out.println(">>>>>>>>>   线程开始了  <<<<<<<<<<"),"sub线程");

        thread.start();

        System.out.printf("Staring ");
    }
}
